package com.cn.mmd.model;

public class Questionnaire {
    private Integer questionnaireid;

    private String publisherid;

    private String publishobjects;

    private String questionnairetitle;

    private String releasetime;

    private String questionnaireexplain;

    private String releasetowho;

    private int startrow;

    private int pageSize;

    public Questionnaire() {
    }

    public Questionnaire(String publisherid, int startrow, int pageSize) {
        this.publisherid = publisherid;
        this.startrow = startrow;
        this.pageSize = pageSize;
    }

    public Questionnaire(String publisherid, String publishobjects, String questionnairetitle,
                         String releasetime) {
        this.publisherid = publisherid;
        this.publishobjects = publishobjects;
        this.questionnairetitle = questionnairetitle;
        this.releasetime = releasetime;
    }

    public Questionnaire(String publisherid, String publishobjects, String questionnairetitle,
                         String releasetime, String questionnaireexplain,String releasetowho) {
        this.publisherid = publisherid;
        this.publishobjects = publishobjects;
        this.questionnairetitle = questionnairetitle;
        this.releasetime = releasetime;
        this.questionnaireexplain = questionnaireexplain;
        this.releasetowho=releasetowho;
    }

    public Integer getQuestionnaireid() {
        return questionnaireid;
    }

    public void setQuestionnaireid(Integer questionnaireid) {
        this.questionnaireid = questionnaireid;
    }

    public String getPublisherid() {
        return publisherid;
    }

    public void setPublisherid(String publisherid) {
        this.publisherid = publisherid == null ? null : publisherid.trim();
    }

    public String getPublishobjects() {
        return publishobjects;
    }

    public void setPublishobjects(String publishobjects) {
        this.publishobjects = publishobjects == null ? null : publishobjects.trim();
    }

    public String getQuestionnairetitle() {
        return questionnairetitle;
    }

    public void setQuestionnairetitle(String questionnairetitle) {
        this.questionnairetitle = questionnairetitle == null ? null : questionnairetitle.trim();
    }

    public String getReleasetime() {
        return releasetime;
    }

    public void setReleasetime(String releasetime) {
        this.releasetime = releasetime == null ? null : releasetime.trim();
    }

    public String getQuestionnaireexplain() {
        return questionnaireexplain;
    }

    public void setQuestionnaireexplain(String questionnaireexplain) {
        this.questionnaireexplain = questionnaireexplain == null ? null : questionnaireexplain.trim();
    }

    public String getReleasetowho() {
        return releasetowho;
    }

    public void setReleasetowho(String releasetowho) {
        this.releasetowho = releasetowho == null ? null : releasetowho.trim();
    }
}